package com.william.jdbcplus.core.enums;

/**
 * 聚合函数关键字
 */
public enum SqlAggregateKeyword {
    COUNT("count"),
    SUM("sum"),
    AVG("avg"),
    MAX("max"),
    MIN("min");

    private final String keyword;

    SqlAggregateKeyword(final String keyword) {
        this.keyword = keyword;
    }

    @Override
    public String toString() {
        return this.keyword;
    }
}
